package com.laterem.rtc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laterem.rtc.domain.ActivityItemDO;
import org.apache.ibatis.annotations.Select;

/**
 * @creator: alan wu
 * @dateTime: 2023/5/28 20:45
 * @desc:
 */
public interface ActivityItemMapper extends BaseMapper<ActivityItemDO> {
    @Select("select * from activity_item order by end_time desc limit 1")
    ActivityItemDO newActivityItem();
}
